package com.xx.happychatboot.serve.user.domain.entity;

import io.mybatis.provider.Entity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户表情包
 * </p>
 *
 * @author xiaoXuan
 * @since 2025-01-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Entity.Table("user_emoji")
public class UserEmoji implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Entity.Column(id = true, remark = "主键", updatable = false, insertable = false)
    private Long id;

    /**
     * 用户表ID
     */
    @Entity.Column("uid")
    private Long uid;

    /**
     * 表情地址
     */
    @Entity.Column("expression_url")
    private String expressionUrl;

    /**
     * 逻辑删除(0-正常,1-删除)
     */
    @Entity.Column("delete_status")
    private Integer deleteStatus;

    /**
     * 创建时间
     */
    @Entity.Column("create_time")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @Entity.Column("update_time")
    private LocalDateTime updateTime;


}
